﻿<Window x:Class="Pujcovna.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:ContentViewLib;assembly=ContentViewLib"
        xmlns:gr="clr-namespace:Pujcovna.Graphic"
        xmlns:tb="clr-namespace:ToolBarLib;assembly=ToolBarLib"
        xmlns:sc="clr-namespace:SmallControls;assembly=SmallControls"
        Title="Půjčovna" Height="363" Width="1018" WindowState="Maximized" Topmost="False" WindowStartupLocation="CenterScreen"  Loaded="MainWindow_Loaded_1" Closed="Window_Closed_1" Closing="Window_Closing_1">

    <Window.Background>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="#FFF7F8FA" Offset="1" />
            <GradientStop Color="#FFF7F8FA" Offset="0" />
        </LinearGradientBrush>
    </Window.Background>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="610*"/>
            <ColumnDefinition Width="293*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="22" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="119"/>
            <RowDefinition />
            <RowDefinition Height="20" />
            <RowDefinition Height="3"/>
        </Grid.RowDefinitions>
        <gr:Header Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Loaded="Header_Loaded_1" Grid.RowSpan="2" Grid.ColumnSpan="2"/>
        <Separator Grid.Row="2"  HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="1" Margin="0" Grid.ColumnSpan="2" />
        <local:userContentView Name="lstData" Margin="0,5,20,10" Grid.Row="3" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.ColumnSpan="2" ></local:userContentView>
        <tb:userToolBar Name="userToolbar" Grid.Row="1" Loaded="userToolbar_Loaded" Grid.ColumnSpan="2"></tb:userToolBar>

        <sc:userDateTime HorizontalAlignment="Right" Grid.Row="1" Width="215" Grid.Column="1" />
        <sc:userMenu Grid.ColumnSpan="2"/>
        <sc:userStatusBar Name="statusBar" Grid.Row="4" Grid.RowSpan="2" Grid.ColumnSpan="2"/>
        <sc:userSearchTextBoxes Name="textBoxesSearch" HorizontalAlignment="Left" VerticalAlignment="Stretch" Grid.Row="1" Height="Auto" Margin="0,34,0,6" Grid.RowSpan="2"/>
        <GroupBox Header="Informace" Margin="1,36,10,0" Grid.Row="1" VerticalAlignment="Top" Grid.Column="1" Height="113" Grid.RowSpan="2" Background="#FF86EBFD">
            <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="95"/>
                    <ColumnDefinition Width="53*"/>
                    <ColumnDefinition Width="84"/>
                    <ColumnDefinition Width="73*"/>
                </Grid.ColumnDefinitions>
                <Label FontSize="15" Content="Půjčeno:" VerticalAlignment="Top" Margin="25,0,0,0" Height="30"/>
                <Label FontSize="15" Content="Dnes vrátit:" VerticalAlignment="Top"  Grid.ColumnSpan="1" Margin="8,29,0,0" Foreground="Orange" Height="30"/>
                <Label FontSize="15" Content="Dnes tržba:" VerticalAlignment="Top"  Grid.ColumnSpan="1" Margin="9,60,0,0" Foreground="#FF2AB800" Height="30"/>
                <Label FontSize="15" Content="0" Name="lblPujceno" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="30"/>
                <Label FontSize="15" Content="0" x:Name="lblDnesVratit" Grid.Column="1" HorizontalAlignment="Stretch" Margin="0,30,0,0" Foreground="Orange" VerticalAlignment="Top" Height="30"/>
                <Label FontSize="15" Content="0" x:Name="lbltrzba" Grid.Column="1" HorizontalAlignment="Stretch" Margin="0,61,0,0" Foreground="#FF2AB800" VerticalAlignment="Top" Height="30"/>
                <Label Foreground="Red" FontSize="15" Content="Opožděné:" VerticalAlignment="Top" Height="30" Grid.Column="2"/>
                <Label Foreground="Red" Name="lblOpozdene" Content="0" FontSize="15" VerticalAlignment="Top" Grid.Column="3"/>
            </Grid>
        </GroupBox>

    </Grid>
</Window>
